using  Business.Models;
using Microsoft.EntityFrameworkCore;
using Volo.Abp;
using Volo.Abp.EntityFrameworkCore.Modeling;

namespace  Business.EntityFrameworkCore
{
    public static class  BusinessDbContextModelCreatingExtensions
    {
        public static void Configure Business(this ModelBuilder builder)
        {
            Check.NotNull(builder, nameof(builder));

            builder.Entity<OrderLiveWareOUT>(b =>
            {
                b.ToTable("OrderLiveWareOUT");

                b.ConfigureByConvention();
                
            });

            //Code generation...
        }
    }
}
